﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelLayer
{
    public class Storey
    {
        private string _name;
        private List<Room> _rooms;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public List<Room> Rooms
        {
            get { return _rooms; }
            set { _rooms = value; }
        }

        public Storey()
        {
            _name = "";
            _rooms = new List<Room>();
        }

        public Storey(string name, List<Room> rooms)
        {
            _name = name;
            _rooms = rooms;
        }
    }
}
